﻿@model HROReporting.Controllers.ViewModels.Vergader.VergaderDetailView

@{
    ViewBag.Title = "Reserveringen";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<br />
<h1 class="title">Mijn Reserveringen</h1>
 <table>

     @foreach (var reservering in Model.VergaderRuimte.Reserveringen )
     {
        <tr>
            <td style="width:120px"><b>Datum</b></td>
            <td style="width:170px"><b>Vergaderruimte</b></td>
            <td style="width:120px"><b>Lesuren</b></td> 
            <td style="width:120px"><b>Tot</b></td> 
        </tr>
     
        <tr>
            <td>@reservering.Datum</td>
            <td>@reservering.VergaderRuimte</td>
                    <td> @reservering.LesuurBegin</td>
                    @if (@reservering.LesuurBegin != @reservering.LesuurEind){
                    <td>&nbsp;t/m&nbsp; @reservering.LesuurEind </td>
                    }
        </tr>
     }
    </table>
